
import request from '@/utils/request'

// 查询jx3_copy列表
export function listCopy(query) {
    return request({
        url: '/jx3/copys/list',
        method: 'get',
        params: query
    })
}

// 查询jx3_copy详细
export function getCopy(id) {
    return request({
        url: '/jx3/copys/' + id,
        method: 'get'
    })
}

// 新增jx3_copy配置
export function addCopy(data) {
    return request({
        url: '/jx3/copys/add',
        method: 'post',
        data: data
    })
}

// 修改jx3_copy配置
export function updateCopy(data) {
    return request({
        url: '/jx3/copys/update',
        method: 'post',
        data: data
    })
}

// 删除jx3_copy配置
export function delCopy(id) {
    return request({
        url: '/jx3/copys/' + id,
        method: 'delete'
    })
}
